<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document类型</title>
</head>
<style>

</style>
<body>
    <div>
        <a href="#">1</a>
        <a href="#">2</a>
        <a href="#">3</a>
        <a href="#">4</a>

        <img src="../../img/right_go.svg" alt="">
        <img src="../../img/right_go.svg" alt="">
        <form action=""></form>
    </div>
    <script>
        console.log(document);
        var html = document.documentElement;
        console.log(html);    //对文档的引用
        console.log(typeof(html));
        console.log(html.childNodes[0]);
        console.log(document.childNodes[0]);
        console.log("-------------");
        console.log(document.head);
        console.log(document.body);
        console.log(document.body.childNodes);
        console.log(document.title);
        console.log("-------------");
        console.log(document.links);
        console.log(document.images);
        console.log(document.forms);
    </script>
</body>
</html>